import React from 'react'
import {Modal} from 'antd'
export default function CreateForm(props) {
    const { modalVisible, onCancel } = props;
    return (
        <Modal
            destroyOnClose
            title="新建规则"
            visible={modalVisible}
            onCancel={() => onCancel()}
            footer={null}
        >
            {props.children}
        </Modal>
    )
}

